/**
* ...
* @author Default
* @version 0.1
*/
package net.roading.mvc.control
{
	import flash.events.Event;
	public class MvcEvent extends Event
	{
		/**
		 * data
		 */
		public var data : *;
		/**
		* Constructor, takes the event name (type) and data object (defaults to null)
		* and also defaults the standard Flex event properties bubbles and cancelable
		* to true and false respectively.
		*/
		public function MvcEvent( type : String, bubbles : Boolean = false, cancelable : Boolean = false )
		{
		 super( type, bubbles, cancelable );
		}

		/**
		* Dispatch this event via the Cairngorm event dispatcher.
		*/
		public function dispatch() : Boolean
		{
		 return Dispatcher.getInstance().dispatchEvent( this );
		}
	}
}